package ooday02.ClassExties;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog();
        dog1.name="大黄";
        dog1.age=6;
        dog1.color="黄色";
        dog1.eat();
        dog1.drink();
        dog1.lookHome();

        Chick chick1 = new Chick("叫花鸡",1,"花色");
        chick1.eat();
        chick1.drink();
        chick1.layEggs();

        Fish fish1 = new Fish("小鲤鱼",3,"红色");
        fish1.eat();
        fish1.drink();

    }
}
